package com.yjd.comm.other.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：保证密等性操作的表模型<br>
 * <b>time</b>：2015-04-22 14:12:26 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public class DisposeUqModel extends Model {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Long id;
	/**
	 * 关联对象类型
	 */
	private String ref_type;
	/**
	 * 关联对象id
	 */
	private String ref_id;
	/**
	 * 关联对象的hashcode，唯一
	 */
	private String ref_obj_uq;
	/**
	 * 添加事件
	 */
	private Long addtime;

	public DisposeUqModel() {
	}

	public DisposeUqModel(String ref_type, String ref_id, Long addtime) {
		this.ref_type = ref_type;
		this.ref_id = ref_id;
		this.ref_obj_uq = ref_type + ref_id;
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRef_type() {
		return ref_type;
	}

	public void setRef_type(String ref_type) {
		this.ref_type = ref_type;
	}

	public String getRef_id() {
		return ref_id;
	}

	public void setRef_id(String ref_id) {
		this.ref_id = ref_id;
	}

	public String getRef_obj_uq() {
		return ref_obj_uq;
	}

	public void setRef_obj_uq(String ref_obj_uq) {
		this.ref_obj_uq = ref_obj_uq;
	}

	public Long getAddtime() {
		return addtime;
	}

	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}

}
